#ifndef RECURSIVE_REVERSE_HPP
#define RECURSIVE_REVERSE_HPP
class Node
{
public:
    Node(int dt, Node *nt = nullptr) : data(dt), next(nt) {}
    Node() = default;
    int data;
    Node *next;
};

extern Node *recursive_reverse(Node *);
extern void printList(Node *p);
extern Node *createList();
extern void delocateList(Node *p);

#endif